Skip to content

test: skip SuiteSparse under PkgEval and install GPU deps on demand - #357

Merged
gdalle merged 1 commit into
JuliaDiff:mainfrom
gdalle-bot:gd/pkgeval-test-deps
Oct 28, 2026
Merged

gdalle merged 1 commit into
JuliaDiff:mainfrom
gdalle-bot:gd/pkgeval-test-deps

Conversation

@gdalle-bot

Copy link
Copy Markdown
Contributor

Important

This PR was generated by a coding agent, please disregard it until @gdalle has reviewed it.

Closes #356.

Changes

  • SuiteSparse tests: skipped when ENV["PKGEVAL"] == "true", because MatrixDepot downloads fail in the PkgEval sandbox (the 35 errored tests in the report).
  • GPU test deps: AMDGPU, CUDA and cuSPARSE are removed from test/Project.toml. When JULIA_SMC_TEST_GROUP == "GPU" (Buildkite), runtests.jl calls Pkg.add on them before loading anything. Their compat bounds still come from the weakdeps section of the main Project.toml. CPU-only runs (GitHub Actions, PkgEval) no longer need to precompile GPUCompiler/LLVM.jl, so PkgEval should stop reporting a misleading precompile failure. Pkg is added to the test deps.

Local checks (Julia 1.13, no GPU)

  • PKGEVAL=true CPU suite: 87116/87116 passed, SuiteSparse skipped, no GPU package installed.
  • JULIA_SMC_TEST_GROUP=GPU: GPU packages installed and loaded, CUDA/ROCm testsets skipped since no device is available. The actual GPU tests still need Buildkite.

Model: Claude Opus 5.5

🤖 Generated with Claude Code

https://claude.ai/code/session_01NohyV4La3BYBZ9XYQEGrfw

- Skip `suitesparse.jl` when `PKGEVAL=true`, since MatrixDepot cannot download matrices in the sandbox
- Remove AMDGPU, CUDA and cuSPARSE from the test environment and `Pkg.add` them only for the GPU test group (compat bounds come from the weakdeps in the main Project.toml)

Closes JuliaDiff#356

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NohyV4La3BYBZ9XYQEGrfw
@gdalle
gdalle marked this pull request as ready for review October 28, 2026 13:41
@gdalle

gdalle commented Oct 28, 2026

Copy link
Copy Markdown
Member

Tests are failing because of a SuiteSparse server issue

@gdalle
gdalle merged commit e88da49 into JuliaDiff:main Oct 28, 2026
3 of 7 checks passed
@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.23%. Comparing base (f0bb3b6) to head (1b6fad7).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #357      +/-   ##
==========================================
- Coverage   46.22%   43.23%   -3.00%     
==========================================
  Files          20       20              
  Lines        2533     2526       -7     
==========================================
- Hits         1171     1092      -79     
- Misses       1362     1434      +72     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PkgEval failure: MatrixDepot SuiteSparse downloads error out

2 participants